check if object has method php

47

<?php
$directory = new Directory('.');
var_dump(method_exists($directory,'read'));
?>

Comments

Submit
0 Comments